package com.tarena.luban.log.study.log4j2;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

public class Log4j2Main {
    private static final Logger logger = LogManager.getLogger(Log4j2Main.class);
    public static void main(String[] args) {
        logger.trace("hello log4j2 trace");
        logger.debug("hello log4j2 debug");
        logger.info("hello log4j2 info");
        logger.warn("hello log4j2 warn");
        logger.error("hello log4j2 error");
        logger.fatal("hello log4j2 fatal");
    }
}
